{% extends "PopshouseAdminBundle::layout.html.twig" %}
{% block title %}
Prijs instellingen
{% endblock %}
{% block content %}
<h2>Prijs instellingen</h2>
{% if app.session.hasFlash('notice') %}
        <div class="message message-green">
            {{ app.session.flash('notice') }}
            <span class="close"><img src="{{ asset('images/layout/admin/icon/close_green.png') }}" alt="sluit" /></span>
        </div>
    {% endif %}
    
<form action="#" method="post">
{% form_theme form 'PopshouseSiteBundle::form.html.twig' %}
    {{ form_errors(form) }}
    
    <dl>
	    <dt>{{ form_label(form.base,'Basisprijs 1 kamer 2 pers.') }}</dt>
	    <dd>{{ form_widget(form.base) }}{{ form_errors(form.base) }}</dd>
	    <dt>{{ form_label(form.single,'Prijs enkele persoon') }}</dt>
        <dd>{{ form_widget(form.single) }}{{ form_errors(form.single) }}</dd>
        <dt>{{ form_label(form.third,'Prijs derde persoon') }}</dt>
        <dd>{{ form_widget(form.third) }}{{ form_errors(form.third) }}</dd>
        <dt>{{ form_label(form.fourth,'Prijs vierde persoon') }}</dt>
        <dd>{{ form_widget(form.fourth) }}{{ form_errors(form.fourth) }}</dd>
        <dt>{{ form_label(form.short,'% extra voor enkele nacht.') }}</dt>
        <dd>{{ form_widget(form.short) }}{{ form_errors(form.short, { 'class': 'important' }) }}</dd>
        <dt>{{ form_label(form.long,'% korting voor midweek/weekend.') }}</dt>
        <dd>{{ form_widget(form.long) }}{{ form_errors(form.long) }}</dd>
    </dl>


    {{ form_rest(form) }}
    <input type="submit" />
</form>
{% endblock %}